<template>
  <div class="sceneList list">
    <van-sticky>
      <van-nav-bar
        title="场景"
        left-text="返回"
        left-arrow
        @click-left="goBack"
        class="box_shadow_ccc"
      >
      </van-nav-bar>
    </van-sticky>
    <PageSkeleton v-if="listObj.isSkeleton == true" />
    <van-list
      class="padding_16"
      v-if="listObj.isSkeleton == false"
      v-model="listObj.loading"
      :finished="listObj.finished"
      finished-text="我也是有底线的"
      @load="onLoad"
    >
      <Scene-List-Detail
        v-for="(item, index) in listObj.list"
        :key="index"
        :detailObj="item"
        @switchEmit="switchEmitFn"
      />
    </van-list>
  </div>
</template>
<script src="./sceneList.js" />
